package com.oig.common.module;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 批量操作请求接口
 * @param <T> 泛型参数
 */
@Schema
@Data
public class SysBatchOptDto<T> {

    @NotEmpty(message = "需选中单据")
    private List<String> idList;

    private T data;
}
